package org.ch00.test06;

/**
 * @author ZJL
 * @date 2025-03-03
 */
public class MainTestPay {
    public static void main(String[] args) {
        User user = new User("张三");
        WeChatPay weChatPay = new WeChatPay();
        user.UsePay(weChatPay);
        System.out.println("==============================");
        AlipayPay alipayPay = new AlipayPay();
        user.UsePay(alipayPay);
    }
}
